package com.aokang.footwear.common.serializer;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author cl
 * @date 2025/2/24
 * 自定义注解，根据不同的业务拼接不同的域名前缀
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@JsonSerialize(using = CustomDomainSerializer.class)
public @interface CustomDomain {
    String prefix();


    String FILE_PIC_URLS ="filePicUrl";
}

